package com.pacific.sign.biz.service;

import com.pacific.common.request.CommonRequest;
import com.pacific.common.response.CommonResponse;
import com.pacific.sign.model.po.pac.mbg.PacHcMenu;
import com.pacific.sign.model.po.pac.request.PacHcMenuQueryRequest;
import com.pacific.sign.model.po.pac.request.PacHcMenuRequest;
import com.pacific.sign.model.po.pac.response.PacHcMenuQueryResponse;
import com.pacific.sign.model.po.pac.response.PacHcMenuResponse;


/**
 *  菜单
 */
public interface HcMenuService {


    public CommonResponse<PacHcMenuQueryResponse> query(CommonRequest<PacHcMenuQueryRequest> request);

    /**
     * 新增
     */
    public CommonResponse<Integer> insert(CommonRequest<PacHcMenu> request);

    /**
     * 更新
     */
    public CommonResponse<Integer> update(CommonRequest<PacHcMenu> request);

    /**
     * 删除
     */
    public CommonResponse<Integer> delete(CommonRequest<PacHcMenu> request);

    /**
     * id查询
     */
    public CommonResponse<PacHcMenu> queryById(CommonRequest<Integer> request);

    /**
     * 查询菜单
     */
    public CommonResponse<PacHcMenuResponse> queryMenu(CommonRequest<PacHcMenuRequest> request);
}
